package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

public enum SelectOrdSubscribeEnum implements IEnum {
    /**
     *
     */
    CONFIRM_THE_STATUS(0, "确认状态",1),
    /**
     *
     */
    HOUSE_RESOURCE_ID(1, "房源编号",0),
    /**
     *
     */
    HOUSE_RESOURCE_NAME(2,"房源名称",1),

    HOUSE_TYPE(3,"出租类型",0),
    NAME_TEL(4,"姓名&&电话",1),
    ID_CARD(5,"证件",0),
    CYCLE(6,"合同周期",1),
    RENT_TIME(7,"租期",1),
    RENTAL(8,"租金",1),
    CASH_PLEDGE(9,"押金",0),
    PLEDGE(10,"定金",1),
    PAY_CYCLE(11,"付几",0),
    RESERVE_TYPE(12,"预订方式",1),
    ENTRY_CLERK(13,"录入人&&时间",1),
    REMARK(14,"备注",0);

    private Integer id;
    private String name;

    /**
     * 0 非选中
     * 1 选中
     *
     */
    private Integer select;

    SelectOrdSubscribeEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select=select;
    }


    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
